Skip to main content

Get All NFTs owned by a Wallet

Returns all NFTs owned by a wallet

Networks Supported:

  • solana-mainnet
  • solana-devnet
  • solana-testnet

Endpoint

GET /api/v0/nfts/<NETWORK>/<WALLET_ADDRESS>/get-holder-nfts/<YOUR_API_KEY>?metadata=METADATA_BOOL&price_stats=PRICE_STAT_BOOL&offset=OFFSET&limit=LIMIT

Test API Key eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkZJMHljR2kwYWhYRFplQmtleEFFZm1jVzZ1NTMiLCJpYXQiOjE2NzM1OTQ1NjF9.CI2QEG7Ek6juzthOuV4NAstYKPHerzRXRUPpA1B9sb4

Parameters

ParameterTypeDescription
metadatabooleanIf set to true, fetches the metadata of the NFT stored on IPFS
price_statsbooleanIf set to true, fetches the Magic Eden price stats for the collection

NOTE:

  1. The metadata parameter can be slow
  2. The price_stats will not be available for certain NFT collections

Code Sample

index.js
const axios = require("axios");

const apiUrl =
"https://app.conciselabs.io/api/v0/nfts/solana-mainnet/EbWwA6NzyvyZpTVCo2YdFD3RgAtfCtkGNBWCCqwbsD2H/get-holder-nfts/<YOUR_API_KEY>?metadata=true&price_stats=true&offset=0&limit=1";

const getHolderNFTs = async () => {
const { data } = await axios.get(apiUrl);
console.log("NFTs: ", data);
};

getHolderNFTs();

Response

{
"nfts": [
{
"model": "metadata",
"address": "AcwC7gDDjc3bK9pGKjGhbMjVLtQ6hP5dbfyVAqmhzqfN",
"mintAddress": "8QtrwvU8Gx75gPGick5qRMBDj1nMhwzBrT9PPipDE6ai",
"updateAuthorityAddress": "DC2mkgwhy56w3viNtHDjJQmc7SGu2QX785bS4aexojwX",
"json": null,
"jsonLoaded": false,
"name": "Degen Ape #5902",
"symbol": "DAPE",
"uri": "https://arweave.net/H9Nlwx3WAZPPs1mJ5pdD__SdpWzYPVbgFWU-46yM8cs",
"isMutable": false,
"primarySaleHappened": true,
"sellerFeeBasisPoints": 420,
"editionNonce": 255,
"creators": [
{
"address": "9BKWqDHfHZh9j39xakYVMdr6hXmCLHH5VfCpeq2idU9L",
"verified": false,
"share": 39
},
{
"address": "9FYsKrNuEweb55Wa2jaj8wTKYDBvuCG3huhakEj96iN9",
"verified": false,
"share": 25
},
{
"address": "HNGVuL5kqjDehw7KR63w9gxow32sX6xzRNgLb8GkbwCM",
"verified": false,
"share": 25
},
{
"address": "7FzXBBPjzrNJbm9MrZKZcyvP3ojVeYPUG2XkBPVZvuBu",
"verified": false,
"share": 10
},
{
"address": "DC2mkgwhy56w3viNtHDjJQmc7SGu2QX785bS4aexojwX",
"verified": true,
"share": 1
}
],
"tokenStandard": null,
"collection": {
"verified": true,
"key": "DSwfRF1jhhu6HpSuzaig1G19kzP73PfLZBPLofkw6fLD",
"address": "DSwfRF1jhhu6HpSuzaig1G19kzP73PfLZBPLofkw6fLD"
},
"collectionDetails": null,
"uses": null,
"metadata": {
"name": "Degen Ape #5902",
"symbol": "DAPE",
"description": "Deep in the heart of Dingus Forest echoes the sleepless cries of a troop of 10,000 apes. These aren’t just regular apes, however. These are degenerate apes.",
"seller_fee_basis_points": 420,
"external_url": "",
"edition": "Class of 2021",
"background_color": "000000",
"attributes": [
{
"trait_type": "Background",
"value": "Teal"
},
{
"trait_type": "Fur / Skin",
"value": "Green / Peach"
},
{
"trait_type": "Head",
"value": "Captain's Hat"
},
{
"trait_type": "Mouth",
"value": "No Traits"
},
{
"trait_type": "Teeth",
"value": "No Traits"
},
{
"trait_type": "Clothing",
"value": "Cheerleader"
},
{
"trait_type": "Eyewear",
"value": "No Traits"
},
{
"display_type": "number",
"trait_type": "generation",
"value": 1
},
{
"display_type": "number",
"trait_type": "sequence",
"value": 5902
}
],
"properties": {
"category": "image",
"creators": [
{
"address": "9BKWqDHfHZh9j39xakYVMdr6hXmCLHH5VfCpeq2idU9L",
"share": 39
},
{
"address": "9FYsKrNuEweb55Wa2jaj8wTKYDBvuCG3huhakEj96iN9",
"share": 25
},
{
"address": "HNGVuL5kqjDehw7KR63w9gxow32sX6xzRNgLb8GkbwCM",
"share": 25
},
{
"address": "7FzXBBPjzrNJbm9MrZKZcyvP3ojVeYPUG2XkBPVZvuBu",
"share": 10
},
{
"address": "DC2mkgwhy56w3viNtHDjJQmc7SGu2QX785bS4aexojwX",
"share": 1
}
],
"files": [
{
"uri": "https://arweave.net/QaWm7a3aLjKgN73UlVE68AmAoQUyT70muKxFlvoNS_0?ext=png",
"type": "image/png"
}
]
},
"image": "https://arweave.net/QaWm7a3aLjKgN73UlVE68AmAoQUyT70muKxFlvoNS_0"
},
"magiceden_price_stats": {
"collection_key": "DSwfRF1jhhu6HpSuzaig1G19kzP73PfLZBPLofkw6fLD",
"magic_eden_symbol": "degenerate_ape_academy",
"floor_price": "51.50",
"listed_count": "573",
"avg_24_hour_price": "52.12",
"volume": "1569694.37"
}
}
]
}